package com.command.center.pucms.pucmsgateway.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.command.center.pucms.pucmsgateway.domain.User;
import com.command.platform.mybatis.mapper.IBaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author zlb
 * @since 2021-04-23
 */
@Mapper
public interface UserMapper extends IBaseMapper<User> {

    /**
     * 通过登录获取用户信息
     * @param userName 用户姓名
     * @return 用户对象
     */
    User getUserByUserName(@Param("userName") String userName);
}